import {defineStore} from "pinia";

export const useCurrentState = defineStore({
    id: 'state',
    state: () => {
        return {
            state: {
                type: '',
                data: '',
            }
        }
    },
    actions: {
        setState(data) {
            this.state = data
        },
    }
})